package util;

public class StopWatch {

    /** Stores the start time when an object of the StopWatch class is initialized. */
    public static long startTime;

    public static void StopWatch() {
        startTime = System.nanoTime();
    }

    public static double getElapsedTimeUS() {
        long endTime = System.nanoTime();
        return (double) (endTime - startTime) / (1000);
    }
}